package com.bookStore.model;

import java.math.BigDecimal;
import java.sql.Timestamp;

/**
 * TemporaryCart entity. @author MyEclipse Persistence Tools
 */

public class TemporaryCart implements java.io.Serializable {

	// Fields

	private Integer id;
	private Timestamp createTime;
	private BigDecimal bookId;
	private BigDecimal userId;

	// Constructors

	/** default constructor */
	public TemporaryCart() {
	}

	/** full constructor */
	public TemporaryCart(Integer id, Timestamp createTime, BigDecimal bookId,
			BigDecimal userId) {
		this.id = id;
		this.createTime = createTime;
		this.bookId = bookId;
		this.userId = userId;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public BigDecimal getBookId() {
		return this.bookId;
	}

	public void setBookId(BigDecimal bookId) {
		this.bookId = bookId;
	}

	public BigDecimal getUserId() {
		return this.userId;
	}

	public void setUserId(BigDecimal userId) {
		this.userId = userId;
	}

}